import React, { BaseSyntheticEvent } from 'react';
import { Button, Text, View } from 'react-native';
import { TextInput } from 'react-native-gesture-handler';

export default function tpl(a: <T>(action: string) => ((ev: BaseSyntheticEvent<T>) => void), s: (...class_name: string[]) => {}) {
	return (<View>
		<View>
			<Text >备注:</Text>
		</View>
		<View>
			<TextInput placeholder='请输入' onChangeText={a('a001')}></TextInput>
		</View>
		<Button title='保存' onPress={a('a002')}></Button>
	</View >);
}
